import request from '@/utils/request';



export function LoadTree(data: any) {
  return request({
    url: '/scene/layer/tree',
    method: 'post',
    data: data
  });
}

export function listForLayer(data: any) {
  return request({
    url: '/scene/layer/list',
    method: 'post',
    data: data
  });
}

export function addLayer(data: any) {
  return request({
    url: '/scene/layer/addLayer',
    method: 'post',
    data: data
  });
}

export function updateLayer(data: any) {
  return request({
    url: '/scene/layer/update',
    method: 'post',
    data: data
  });
}

export function deleteLayer(data: any) {
  return request({
    url: '/scene/layer/delete',
    method: 'post',
    data: data
  });
}

export function updateActor(data: any) {
  return request({
    url: '/scene/actor/update',
    method: 'post',
    data: data
  });
}

export function getActorById(data: any) {
  return request({
    url: '/scene/actor/getById',
    method: 'post',
    data: data
  });
}

export function deleteActor(data: any) {
  return request({
    url: '/scene/actor/delete',
    method: 'post',
    data: data
  });
}



export function listForActor(data: any) {
  return request({
    url: '/scene/actor/list',
    method: 'post',
    data: data
  });
}
